package com.kongxx.struts2study.common.factory;

public class AbstractFactory {
	public static final String MOCK_ENV_KEY = "IS_MOCK";
	
	protected boolean isMock(){
//		boolean bln = false;
//		String property = System.getenv(MOCK_ENV_KEY);
//		if(property != null && property.equalsIgnoreCase("yes")) {
//			bln = true;
//		}
//		return bln;
		return true;
	}
}
